<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>列表页</title>
		<link rel="stylesheet" type="text/css" href="__STATIC__/Home/css/list.css"/>
		<include file="__VIEW__/Common/header.html"/>
		
		
<div id="screen">
	<ul>
		<foreach from="$attr" key="$k" value="$v">
			<li>
				<p>{$v.name}&nbsp;:</p>
				<ul>
					<?php 
						$temp = $param;
						//为"不限"准备的
						$temp[$k] = 0;
					?>
					<li>
						<a href="{|U:'List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp))}" <if value="$param[$k]==0">class="hover"</if>>不限</a>
					</li>
					<foreach from="$v['value']" key="$key" value="$value">
						<?php 
							$temp[$k] = $value['gtid'];										
						?>
						<li>
							<a href="{|U:'List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp))}" <if value="$param[$k]==$value['gtid']">class="hover"</if> >{$value.gtvalue}</a>	
						</li>
					</foreach>
				</ul>
			</li>
		</foreach>
		
	</ul>
	
	
</div>
<!--首屏中部-->
<!--<div id="middle">
	<div class="m_left">
		<ul>
			<foreach from="$cData" key="$k" value="$v">
				左侧背景
				<li  class="clothe-{$k} <if value="$_GET['cid']==$v['cid']">saclast-{$k}</if>">
					<a href="{|U:'List/index',array('cid'=>$v['cid'])}">{$v.cname}<span></span></a>
				</li>
			</foreach>
		</ul>
		<div class="mleft_r">
			<list from="$SonData" name='$v' start="0">
				<dl <if value='$hd.list.v.index==4'>class="m_last"</if>>
					<dt><a href="">{$v.cname}<span>HOT</span></a></dt>
					<list from="$v['son']" name='$value' start="0">
						<dd><a href="">{$value.cname}</a></dd>
					</list>
				</dl>
			</list>
		</div>
	</div>
	<div class="m_right">
		<div><a href=""><img src="__STATIC__/Home/images/categroy-middle-1.jpg" alt="" /></a></div>
		<div><a href=""><img src="__STATIC__/Home/images/categroy-middle-2.jpg"/></a></div>
	</div>
</div>-->

<!--单张图片-->
<div id="img_red">
	<a href=""></a>
</div>

<!--价格筛选-->
<div id="categroy_all">
	<h1>衬衫</h1>
	<ul class="ul_1">
		<li><a href="" class="f_donw">热门</a></li>
    	<li><a href="">最新</a></li>
		<li><a href="">爆款</a></li>
		<li class="xy"><a href="">信用</a></li>
	</ul>
	<!--<div id="">
		<ul>
			<li><a href="" class="f_donw">全部</a></li>
			<li><a href="">0-100元</a></li>
			<li><a href="">101-200元</a></li>
			<li><a href="">201-500元</a></li>
		</ul>
	</div>
	<form action="" method="post">
		<div>
			<span>￥</span>
			<input type="text" name="" id="" value="" />
		</div>
		<b>-</b>
		<div>
			<span>￥</span>
			<input type="text" name="" id="" value="" />
		</div>
		<p>确定</p>
	</form>-->
</div>

<!--图墙开始-->

<div id="chartss">
	<ul>
		<list from="$screen" name="$v">
			<!--如果能被5整除说明是5的倍数，加一个class,让其float右浮动-->
			<li <if value="is_int($hd.list.v.total/5)">class="jacket-last"</if>>
				<a href="{|U:'Content/index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.pic}" /></a>
				<p><a href="">{$v.gname}...</a></p>
				<p>
					<span class="rmb"><u></u>{$v.shopprice}</span>
					<span class="like">{$v.click}</span>
				</p>
			</li>
		</list>
	</ul>
</div>
<script type="text/javascript">
	$(function(){
		$('#chartss li').hover(function(){
//			alert();
			$(this).addClass('animated fadeIn');
		},function(){
			$(this).removeClass('fadeIn');
		})
	})
</script>
<!--图墙结束-->

<include file="__VIEW__/Common/bottom.html"/>